Fixed listing of empty directories