Fix broken state orchestration
Fix broken state orchestration

This corrects an issue introduced in #28012 wherein the `m_ret` variable
was not set prior to evaluation. Here, we simply set it to None and then check for this type explicitely.

Fixes #29110

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt