Improve performance of _get_zipimporters

_get_zipimporters can call isinstance millions of times when
running pylint's import-error checker on a codebase like yt-dlp.

Checking for None first avoids the overhead of invoking isinstance.

Closes pylint-dev/pylint#9607.
1 file changed