Fix pkg check -da crash when no repo.sqlite found
Fix pkg check -da crash when no repo.sqlite found

skoef/pkg,en90/pkg,en90/pkg,khorben/pkg,Open343/pkg,Open343/pkg,junovitch/pkg,khorben/pkg,khorben/pkg,skoef/pkg,junovitch/pkg