accept only directories have config.xml file to prevent too many IOException
Merge pull request #1170 from olamy/not-try-to-load-non-existing-files

accept only directories have config.xml file to prevent too many IOException