Save root action before planning starts

We need this to be able to get the data about the action that triggered the
execution plan before the planning is finished.
I would fail when this is not set upon starting to execute the step.