Revert "Revert "Fix Git repository plugin test failures on Windows""
Merge pull request #898 from seanbright/revert-896-revert-891-fix-git-repo-plugin-testcases

Revert "Revert "Fix Git repository plugin test failures on Windows""