Correctly upgrade pip depending on ubuntu version.
Merge pull request #390 from blueboxgroup/fix-pip

Correctly upgrade pip depending on ubuntu version.