Fix bad error message on missing package

Fixes #151