[vsphere] check for string true/false instead of boolean

closes #2857
Release 1.22.0