WFLY-3002 Fix issue with ServletContext.getResourcePaths()