Return 2 if repos are not same/repo is not sane. Purpose is to distinguish between valid exid and exit caused by python exception (which returns 1)