Fix null UUID in id perms

Read vmi object before returning so that the id perms
are not overwritten in the next update with old id perms
information.

Change-Id: If658b7a204070d3040577359b0d4568676e22e9b
Merge "Fix null UUID in id perms"