Revert "Fix Git repository plugin test failures on Windows"

The bug is actually in bnd, will create a separate PR.