Fixing resource lookup under Wildfly

Old code always returns null when using WAR inside EAR. From spec: `Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path matches the supplied path argument.`

That means return files under directory, not the files.
Ok, now I see the typo. Fixed by cb159f16 on master.