Add PackageSpec.RepoPath method.