diff --git a/maintainer/test-packages.sh b/maintainer/test-packages.sh
index d6b84be0..42aaad7b 100755
--- a/maintainer/test-packages.sh
+++ b/maintainer/test-packages.sh
@@ -189,8 +189,8 @@ EOF
     CT_EndStep
 }
 
-mv .config .config-saved
+[ -r .config ] && mv .config .config-saved
 . maintainer/package-versions
-mv .config-saved .config
+[ -r .config-saved ] && mv .config-saved .config
 
 rm -rf ${CT_TARBALLS_DIR} ${CT_COMMON_SRC_DIR}