no files in web root check hotfix

fix the bug in situation when there are some dirs in web root and no files