port get_object_reference to xmlid_to_object as it raise a ValueError as it was half ported by removing cr uid