Clean the host text after a ping check