Fix segfault in ubus blob-handling

Signed-off-by: Steven Barth <steven@midlink.org>