Check rails env is not test before downloading thumbnails.