Review the usage of apostrophes in error messages Closes GH-5590
Fixed bug #79818 Only destroy the variable directly before reassigning it. The value could be read in the meantime.