See the change log here: http://pypi.python.org/pypi/pip
On inspection of the cookbook, it actually appears that there's an additional bug here
I believe we actually need || instead of &&. Otherwise --environment will be called if the environment does exist, which I think is the opposite of what we want.
In any case, --environment is gone and needs to be factored out.