agetty-generic: get tty from service name