[COOK-4244] Fix the pip version_check_cmd to use the virtualenv pip when applicable

Otherwise when upgrading the pip in your virtualenv, it will incorrectly get the system pip version and may skip the upgrade.