Fix shell provisioner issue in pre-1.4.0 versions of vagrant