Remove platform entry from setup.py
Fix formatting for except KeyError