Make System.get_env/0 behave sanely.
Merge pull request #1562 from alexrp/master

Make System.get_env/0 behave sanely.