Fixes issue in DeployTools.ps1