Empty directories are invalid (ref #188)