Change in ovirt-engine[master]: core: add null checks in equal methods