diff --git a/archrelease.in b/archrelease.in
index 7bb4c8ad9cd6b0c05a3b6f10d4da1714b614175e..2f7725e5cb1f4b1d464383b5cb43fe9b01aa64f0 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -46,7 +46,7 @@ for tag in "$@"; do
 		while read -r file; do
 			trash+=("repos/$tag/$file")
 		done < <(svn ls "repos/$tag")
-		svn rm -q "${trash[@]}"
+		[[ $trash ]] && svn rm -q "${trash[@]}"
 	else
 		mkdir -p "repos/$tag"
 		svn add --parents -q "repos/$tag"