Single quote the variables names as they are going to be empty

Fix for issue http://projects.puppetlabs.com/issues/17746.


The error messages should output the variable name not nill.