Fix NPE in ResourceLoader if there is no xmlResourceDir