Rather than this check, we should just parse the (possibly empty) list of files in the config and only continue if there are images to upload.