Making salt.pillar.virtkey python3 compatible