Return immediately from executeQuery is sql is nil.

Callers should never do this of course, but this stops the
analyzer warning about it.