diff --git a/bob/devtools/ci.py b/bob/devtools/ci.py
index d6e481ecd185f6fbd66fa7d397ca8a8e1dda5875..c18779b8512c98bc7889eaf21ba1ec481611707d 100644
--- a/bob/devtools/ci.py
+++ b/bob/devtools/ci.py
@@ -16,9 +16,9 @@ logger = get_logger(__name__)
 def is_master(refname, tag, repodir):
     """Tells if we're on the master branch via ref_name or tag.
 
-    This function checks if the name of the branch being built is "master".  If a
-    tag is set, then it checks if the tag is on the master branch.  If so, then
-    also returns ``True``, otherwise, ``False``.
+    This function checks if the name of the branch being built is "master".  If
+    a tag is set, then it checks if the tag is on the master branch.  If so,
+    then also returns ``True``, otherwise, ``False``.
 
     Args:
 
@@ -259,6 +259,8 @@ def cleanup(dry_run, username, password, includes):
                 'noarch',
                 ]
 
+        path = server_info["conda"]
+
         for arch in archs:
 
             arch_path = '/'.join((path, arch))