Catch repository not related errors on forced forks that are not related to origin repo

Issue #555 resolved
Marcin Kuzminski
repo owner created an issue

As in description mercurial throws repository not related errors when this happens