Update loadJar to use Repository instead of fs

The use of fs caused it to fail to run under servlet container like Tomcat.