use ontology.repository; repository does not exist

repository does not exist anymore (is not set in the controller),
so we'll access the repository through the ontology.