[LibGit2] Fix tests on Mac since symlink is replaced with fullpath on clone

But our Path system has no way to dig into symlinks.