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

(cherry picked from commit a135241607b5d87c59bf30f6b82bbaafa62dedc3)