Lazily read the package catalog

Only read the catalog if a collection path isn't found
(in non-interactive mode) since the operation is
expensive.