DEV: Fix incorrect optimization in SvgSprite. (PR #13243)

SvgSprite.custom_sprite_paths does not just fetch custom SVG sprite from themes. It also picks up any custom svg icons from a pre-defined plugin folder.

Follow-up to 0700e9382d551e4948b493e1219f3119e52bcae4

GitHub