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.
Merge pull request #919 from ontohub/hotfix_oops_repository_path

use ontology.repository; repository does not exist