Fix the ruby block that resets the ChocolateyInstall environment variable

You know, it could be that it's not using the Enumeration. 'Machine' evaluates to an enumeration and maybe should be specified as one in here?