set correct handling of extractHostName

https://github.com/kstenerud/KSCrash/issues/39