Remove unnecessary env clearing for localhost deployments
Merge pull request #405 from nhr/remove_obsolete_env_handling

Remove unnecessary env clearing for localhost deployments