Making salt.modules.match python3 compatible