Flag to clean environment variables - fix

I was a little rushed with the previous commit.
https://github.com/saltstack/salt/issues/6642