Corrected NPE when WID has no icon entry.

Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1093075