fix the new git tests

@gaurave, fix an issue in the new git tests where we tried to clone into an existing directory