Use much simpler ENV['SHELL'] to get user's shell in Vagrantfile