[FABRIC-486] Fix the handling of jetty.xml.
[FABRIC-461] Make sure repository is loaded before return it.