sha1-name.c: remove the_repo from interpret_nth_prior_checkout()