DefineXML: export the DBus object so the object path is valid

Otherwise this function would be racy.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>