VMware: fix VM resize bug

The following operations would fail due to invalid references, either by name
or UUID:
    - resize
    - resize-confirm
    - resize-revert

Closes-bug: #1199954

Change-Id: I39b804ed3c0c57455547d9ece0ef779cf73a5926
Merge "VMware: fix VM resize bug"