Refactor of check_one_request into checkrepo module.