Use only relevant params when searching for repo
Change index on repositories(owner_name, name) to unique index
Search for repositories by github_id when receiving hook