Fixed git checking allPack.sh