Be careful when forks are lagging behind the original projects

In these cases the head commit is present in the forked project but not
in the fork itself.