Return the correct exit reason for unknown global registered names