utils: ref_get() returns the new value of the reference counter