Update cinnamon-desktop-editor.py

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1036273
Merge pull request #2915 from leigh123linux/patch-10

add a check as to whether icon_info is None