Filter out empty dirs