sd-bus: avoid a null dereference