CLOUD-291 fixed resource saving between steps

The stack has already been added to the context in the line #107.