[WFCORE-210] make deployment scanner treat listFiles() returning null correctly as error case.
Merge pull request #290 from doctau/WFCORE-210

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