Use GetRepoImportPathPattern.