rust-index: helper for revision not in index not involving nodemap
This is a good match for exceptions raised from the C implementation,
when it is not about a nodemap inconsistency.
# So GitLab doesn't think we're using tons of Perl*.t -linguist-detectable