HgLoaderFromDisk: Don't query revision_get with release ids
This is a minor performance optimization, removing items from the
call to revision_get when we know their result will be None.
Motivation: A future commit will refactor this function, and dealing only
with revision ids makes it simpler.