bugfix: stop inifite loop

pkg_info -o shows an empty Origin: when pkgdb is corrupted