Pass defined `ret` to `saltutil.cmd` before overriding it.