Add repoPath and repoID as parameters to versioner factory (fixes #531)