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