Fix issue that was cloning into a folder with .git appended