Fix bug for pip v1.5