tools/hotplug: fix bug on xendomains using xl

Make rdname function work with xl

Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>