Add quotes to variables in thrown messages

Helps users identify empty strings (when they are not familiar with what is being thrown).