De-crapify setting of environment variables