If a host uses cgroup2, the connection plugin will unconditionally try to execute commands via systemd-run.
Please check whether systemd-run exists before trying to use it (or, perhaps even better, whether pid1 is systemd). cgroup2 can also be used without systemd.