Fixes item # 192 in SirCmpwn/Craft.net

Avoids errors when a directory is empty.

This way it will not return empty directories.

See Item 192 for further details.