Fix another bug in `ReleaseTools`
Fix another bug in `ReleaseTools`

The typo we fixed in review actually broke it (because it was already
misbehaving, but in a working way). Also stop exporting functions.

PowerShell/vscode-powershell