If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Don't throw an exception in the pure option processing code.
Instead, use throwIO afterwards. This discards the bad label value that
was given, but I think the error message is enough that the user will be
able to tell what they've done wrong and how to fix it.
relevant lines covered
hits per line