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