Export cover to file: 0kb jpeg file

The export cover art function works perfect, but some of my mp3's do not have cover art and therefore a blank 0kb jpeg file is produced. Is there a way to not export cover art at all if there is no cover art?

Found an answer as to why this is happening, however it would be better if blank cover art was just skipped: