core: Vagrantfile must be file [GH-2216]