Making salt.states.environ python3 compatible