Allow access to any environment variable from grains

This PR fixes #7873. I haven't tested it but it should work.
Should we deprecate the path grain as a result?
Should we strip() any value in os.environ?