Tumblr plugin raise an error when triggering a new generation.

when creating the post if the document already exist then null is returned.
In this case we can not call `getFilePath()` on a `null` object.