remove empty directories from bundle