diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index d18d6018624bee21a063726ba124b575b54569aa..da4473971353a9ba4f895b9c14c35434b4d2e4d7 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -570,7 +570,7 @@ def nightlies(ctx, order, dry_run):
     # Use custom variants and append files if available on recipe-dir
     recipe_dir = os.path.join(clone_to, 'conda')
 
-    condarc = select_user_condarc(paths=[recipe, os.curdir],
+    condarc = select_user_condarc(paths=[recipe_dir, os.curdir],
           branch=os.environ.get('CI_COMMIT_REF_NAME'))
     if condarc is not None:
       logger.info('Condarc configuration file: %s', condarc)