Update error message for `cmd.script` on cache fail to use saltenv

Fixes #11189