jsh/invoke: ensure that actual return result is returned.