Trying not to add an empty directory.