make sure VM exists before it is added to a group