Making salt.modules.hosts python3 compatible

bad list