Add .git suffix to non-bare test of fixSubmoduleUrls