Fix import so exception module is accesible. With the previous import `pip` module wouldn't have any `exceptions` attribute as it's __init__ doesn't actually import it. Fixes the confusing error message from #2067.