libubus: handle NULL ubus_context in all sync requests by creating a local instance