Rearrange pip.utils to avoid a circular import