core: fix NoMethodError in Vagrant.has_plugin? [GH-1736]