code: def _system_exit_for_remote(self, e, cmds):
      from guild import main
  
      assert isinstance(e, SystemExit), e
      msg, code = main.system_exit_params(e)
      if not msg:
          raise SystemExit(code)
      for cmd in cmds:
          maybe_changed = msg.replace(
              f"guild {self.name}", f"guild {self.name} -r {cmd}"
          )
          if maybe_changed != msg:
              msg = maybe_changed
              break
      raise SystemExit(msg, code)
  
imports: import hashlib
  import logging
  import os
  import re
  from guild import click_util
  from guild import cmd_impl_support
  from guild import remote
  from guild import util
  from guild import var
  from guild.commands import runs_impl
label_desc: Use image node_id 7 for calling the MetaSyncRemote obj's underlying member method code with example usage: obj._system_exit_for_remote(e, cmds) without return types