fix pip plugin
Merge pull request #2271 from ashleyh/master

fix pip plugin