Changes to the logic for returning an environment variable:

If there is no environment variable with the specified name present,
treat the input as if it were normal text, despite of the dollar sign.