Added extra checking to fetchart plugin.

Will avoid a KeyError being raised when Content-Type header is missing.
See #664.