Check the existence of flavors before deleting them