Fix pep8 error in hostname module