Fix tests dependency fetch
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 4676926..09ebcc2 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -89,7 +89,7 @@
 
     log_info "Fetching dependency $dep_name"
     [ ! -d ${DEPSDIR} ] && mkdir -p ${DEPSDIR}
-    git clone $1 ${DEPSDIR}/$(basename $1 .git)
+    git clone $dep_source ${DEPSDIR}/$(basename $dep_source .git)
     ln -s ${dep_root}/${dep_name} ${SALT_FILE_DIR}/${dep_name}
 
     METADATA="${dep_metadata}" install_dependencies