Caching null ontology result from getOntology().