The environment variable $Env:WEBI_UA seems to be set to "Windows " followed by Arch (x64 etc.). Unfortunately, the parameters for the curl.exe call are "misplaced" and the user agent string is not passed to the -A parameter. This commit fixes this issue.