bugfix: stop inifite loop

pkg_info -o shows an empty Origin: when pkgdb is corrupted
Merge pull request #156 from reallyenglish/mitsuruy

bugfix: stop inifite loop