add explicit EmptyDir processing
corrected typo
Merge pull request #64 from terefang/master

added empty directory handling