Bug 1337453: Before creating a new object, make sure that another object with same uuid doesn't exists

Change-Id: I945e40aca72cc671750992e0bd99c5354333accd
Merge "Bug 1337453: Before creating a new object, make sure that another object with same uuid doesn't exists"