Making salt.states.apt python3 compatible