Don't do substitutions if the variable is single quoted.

I outlined this problem in issue #123

This will stop substitution from being run on environment variables that are single quoted.