restructure check_db to use _repoquery
restructure check_db to use _repoquery

restructure repoquery to not require parsing the pkginfo

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt