isfile:TypeError: coercing to Unicode: need string or buffer, NoneType found

Hopefully fix

https://bugzilla.redhat.com/show_bug.cgi?id=1045157

Got the idea from here :-)

https://gitorious.org/cinnamon/cinnamon/commit/2486efeb7eb2adbd9b2b084de482f61f88fd82dd