Code deduplication: extract RepoTO creation to factory