Avoid NullPointerException on TaskControllerImpl.executeTasks whenever FLAG_SEND_DEPENDENCY_DONE and FLAG_SEND_CANCEL_DEPENDENTS are both set.