Only permit a refresh if all new references start from the tip of
an existing references. This happens some of the time within a
Gerrit Code Review server, perhaps about 50% of new references.
Since a complete rebuild is so costly, try this approach first.