Properly delete all hostinfo keys
PEP8 fix