agent: Fix some issues reading DBus address from dbus-daemon

Trying to fix the isuse we see every once in a while:

cockpit-agent[20020]: The given address is empty

Closes #866