Fix bug when more than one hostname is specified

Fix bug with PowerShell scripts for managing BackConnectionHostNames
registry value (when more than one hostname is specified in the registry
value)