Fix fatal error when revision data isn't loaded properly

When pages are being created, this hook gets run before all of
the revision data has made it to the slaves. So fall back to the
master if we can't load the revision data.

Bug: 52907
Change-Id: I65420d0e4339fa8d40fd054b82ae7b57e2afd350