diff --git a/scripts/update_version_files.py b/scripts/update_version_files.py
index fe914f3917e7162ec80b9bee209f18777c8bf7cc..077120127be7b3a0bdca2b1eb9ff697092e94643 100755
--- a/scripts/update_version_files.py
+++ b/scripts/update_version_files.py
@@ -12,7 +12,7 @@
 from indra.util import llversion
 
 svn = os.path.expandvars("${SVN}")
-if not svn: svn = "svn"
+if not svn or svn == "${SVN}": svn = "svn"
 
 def usage():
     print "Usage:"