Fixed typo in hostname domain stripping