Change order of env sources in getEnv()

In my opinion the arguments to the process should take precedence over any global environment variables. If you agree, you can merge my pull request :smile: