Added fix for git fetch in deployment script.

Change-Id: I26a0f4dd64754800557e53b824b14c5df6326231