Fixing warning message on empty icon_directory.