Fixed an incorrect call to for removal of the undeployed VMs in OMS (OMS-535)
Code cleanup (OMS-535)