forgot to chdir to $repo path.