Fix for ThumbnailError when input file is None

When first argument of get_thumbnail is None, original ThumbnailBackend backend return dummy or None. 

This commit is fixed this/