[vSphere] Support passing of a distributed switch for each interface. Small bugfix to make the handling more robust.