If you have a shell configured in "manage jenkins" and that shell is not available on the slave used by a workflow sh step, then the error does not help you diagnose the issue.
produces the following error
this implies an error with Jenkins code and not the configuration.
Compare this to the same failure in a FreeStyle Job
Notice how the FreeStyle is explicit about which shell it is trying to run and what could not be found.