Making salt.states.pkgrepo python3 compatible