Protect against missing pages better

35ccfeb was too aggressive in avoiding this check and
causes problems like the linked bug. We still won't
load the revision (that's pointless) but we'll do some
basic existence checks.

Bug: 61464
Change-Id: I70fe2ca93b99594ca2fe0beb70f995f98454eba5