Same as below: Only add the task if it will be run. You can check the contents of the manifest in `resolve_tasks`