Make AbstractRemoteRepo.checkPush() easier to read