Revert "GIT: Switches to shallow clones"

This reverts commit 601e7aa1c186f51a42c0cd9a0316518a492f3391.

Reason for revert: Causes static tests jobs to fail, more testing is required before putting this in again

Change-Id: I475727b2676d585647e4efb44e5736cf1a49b0be
diff --git a/run-build.sh b/run-build.sh
index 47b9acd..5a9e6db 100755
--- a/run-build.sh
+++ b/run-build.sh
@@ -33,8 +33,7 @@
         REPO_REFSPEC="$(echo "${repo}" | awk -F ';' '{print $2}')"
 
         if [ ! -z "$REPO_REFSPEC" ] ; then
-            echo "Refspec was not pulled correctly"
-            exit 1
+            git_checkout $REPO_PATH $REPO_REFSPEC
         fi
     done
 }