Add temporary fix for offline deployment unable to use newer pepper

Change-Id: Icffde6ae1c6c9410df9d37de43f7b4a0e28a5d0d
diff --git a/src/com/mirantis/mk/Python.groovy b/src/com/mirantis/mk/Python.groovy
index b6e408a..e5a6023 100644
--- a/src/com/mirantis/mk/Python.groovy
+++ b/src/com/mirantis/mk/Python.groovy
@@ -306,7 +306,13 @@
     // requirements = ['salt-pepper']
     requirements = []
     setupVirtualenv(path, 'python2', requirements, null, clean, true)
-    runVirtualenvCommand(path, "pip install git+https://github.com/chnyda/pepper.git")
+
+    try {
+        runVirtualenvCommand(path, "wget -q -T 3 --spider http://google.com && pip install git+https://github.com/saltstack/pepper.git")
+    } catch(Exception e) {
+        common.warningMsg("Setuptools and pip cannot be updated, you might be offline")
+        runVirtualenvCommand(path, "pip install salt-pepper")
+    }
 
     // pepperrc creation
     rcFile = "${path}/pepperrc"