Fix name resolution in Systemd systems