Fix the ruby block that resets the ChocolateyInstall environment variable

I believe it would be specified as `[System.EnvironmentVariableTarget]::Machine`