Check if the thumbnail doesn't exist before accessing its modified date