Fixed loading of yml-file for using in web-application (tomcat)