Update getnaifspicetoolkit.py

Solves a KeyError in recent versions of Mac OSX