diff --git a/unbox.sh b/unbox.sh
index 133f43f..b975dbc 100755
--- a/unbox.sh
+++ b/unbox.sh
@@ -24,7 +24,8 @@ function unbox_outer_stage(){
 	fi
 	
 	echo $REMOTE
-	echo $REMOTE >> .repo_cache
+	URL_CACHE=$( ( cat .repo_cache; echo $REMOTE;) | sort | uniq )
+	echo $URL_CACHE > .repo_cache
     
     if [ -e repo ]; then
         (cd repo; git pull)