Check for NULL on um_realm_object_get_common

um_realm_object_get_common can return NULL, so shouldn't be passed
unchecked to subsequent functions that will de-reference it.

https://bugzilla.gnome.org/show_bug.cgi?id=705274