handle corrupt repos which have no head.repo data
enable creating new pulls via the github pull_request hook