Ensure that variant image value exists before attempting to call mini_url on it

Fixes #2392
Update licenses for new year.

Fixes #2391

[ci skip]