abort ontologies only if they are not ontologies

Basically if hets determines that a file is not an ontology file
(catalogs for example), we'll need to abort the processing. In every
other case we should re-raise the original error.