Fix #2270
Merge pull request #2271 from ogail/history

Piping with Set-AzureWebsite produces multiple hostnames, some of which are incorrect