Simplify repoFolderName code path.