Making salt.states.git python3 compatible