dbus service: Fix an exception in trace