core: lock machine action on VF name too [GH-4065]