[WFCORE-210] make deployment scanner treat listFiles() returning null co...

...rrectly as error case.

https://issues.jboss.org/browse/WFCORE-210