Notice the GetRepositoryPath method

...and then discover it doesn't do what you want...