LocalDispatcher uses the current context to generate the tasks.

We only serialise differences between the task and script contexts when creating the gaffer execute command lines.