applet: fix coverity warnings

Remove checks that an already-known-to-not-be-NULL variable isn't
NULL, so that coverity doesn't warn about later unchecked uses.

Fix a g_warn_if_fail() that might call strlen(NULL) by just using
g_warn_if_reached() instead (and then change another nearby
g_warn_if_fail() as well, for consistency).