Fix thumbnail generation when not using a custom thumbnail
Merge pull request #11 from le-phare/fix-thumbnail-generation

Fix thumbnail generation when not using a custom thumbnail