Making salt.states.git python3 compatible
Merge pull request #17652 from nmadhok/states-python3-git

Making salt.states.git python3 compatible