Make repo_path take a printf-style format. Preparatory for upcoming changes.