Making salt.pillar.foreman python3 compatible