vsphere agent: Switched parameter parsing to getopt for better compatibility