Support empty directories