fix purge task when trying to delete a non existant component