Fix Bug#44481

* lisp/net/tramp.el (tramp-system-name): New defconst.
(tramp-default-host, tramp-restricted-shell-hosts-alist)
(tramp-local-host-regexp):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.  (Bug#44481)
2 jobs for emacs-27 in 76 minutes and 39 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #8926
test-all

01:16:39

passed #8927
test-filenotify-gio

00:55:40