Add check for no null IIcons on facade registration

Continuation of #1977
Let me suggest to add some protection against Throwable here, to prevent for missing bits in third-party blocks.