Fix check for pip