fixed a bug calling the gitRepo clone stuff