Don't display "Package is imported by n packages." for non-existing packages.

Fixes #179.