Adding additional robustness to script per ahmahmahm from VMTN forums to
ensure comments are ignored in .VMX when grepingn for VMDK as well as
removing annotation from vmsvc/getallvms
Fixing TAR issue as its different in various releases of ESXi, thanks to
aspineux for the code snippet