XWIKI-11347: Using an empty flamingo theme breaks the UI.

(cherry picked from commit 812432402311e592aefd7ee0f98ee176159d7f26)