[LibGit2] Fix UpdateIsDone test for Windows and general file:// for windows/unix.