Fix pip invocation for old versions of pip.

Fixes bug 1190749.

Change-Id: I91fce8ee1c37f945062e81c1585ee45613e05371