Made git_repository_open2() and git_repository_open3() benefit from recently added path prettifying function.