If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Prep source attribute for Chef 13
Chef 12.5 throws a warning about passing nil attributes to a resource.
The advised fix would break backwards compatibility with Chef 11, so
don't pass on the source attribute unless it's non-nil.
relevant lines covered
hits per line