Rename the task to delete_rebuild_registry for clarity.
This attempt to hide the task on non-D7 sites caused issues with AJAX.