So I've added protection to prevent this issue anyway, but the only reason we can see for this potentially happening is if ImageMagick was in use at some point, then it became unavailable and the option was saved (this would give it a blank value). XF1 handle that case as an automatic fallback to GD, so we do that here now too.