Need to chdir in Repo#extract_repo.