Due to Proxy, hasProperty can throw any errors! If you won't perform user-observable things, you should use VMInquiry instead.
Created attachment 280718 [details] Patch WIP