fix check for thumbnail object existence

3 jobs for master in 4 minutes and 8 seconds (queued for 1 second)