Do not call dbus_g_bus_get in headless mode on legacy systems