VMware: fix exception when no objects are returned

get_object_properties may return data that does not contain any
objects. The patch validates that the returned data is accessible.

Change-Id: I9432582bf5bc841aea705a84f939e9482465ff70
Closes-bug: #1294102
Merge "VMware: fix exception when no objects are returned"