make iri_split more failure resilient

iri_split sadly needs to work on non-iris too.
Merge branch '441-import_single_ontologies_with_imports_correctly' into develop