Backport fix to bootstrap for pip from the v6.0-dev.