packfile: allow prepare_packed_git_mru to handle arbitrary repositories