Don't error on invalid package.

Fixes the `info` function.