Making salt.states.pkgrepo python3 compatible
Merge pull request #17623 from nmadhok/states-python3-pkgrepo

Making salt.states.pkgrepo python3 compatible