make sure the git directories exist when cloning and creating repositoies