Fixes a segfault in bbus_hmap_set.