Making salt.modules.git python3 compatible