Modify to be better logic.
Handle types which aren't arrays.
Fix a few environment problems with Vagrant.
Update namespace to be VagrantPlugins::VagrantDotenv.

This was clashing with the Dotenv plugin namespace.