diff --git a/gitlab/update_feedstock.py b/gitlab/update_feedstock.py
index 132218d9d5d041ab4312539661d6e6070fb4cf21..2a04d7e12e700b58c855fcc9b8e76fe378291a34 100755
--- a/gitlab/update_feedstock.py
+++ b/gitlab/update_feedstock.py
@@ -132,9 +132,9 @@ def main(package, direct_push=False):
     with open('recipe/meta.yaml', 'w') as f:
       f.write(doc)
 
-    conda_smithy_path = os.getenv('CONDA_FOLDER', '')
-    if conda_smithy_path:
-        conda_smithy_path = conda_smithy_path + os.sep
+    conda_smithy_path = ''
+    if os.path.isdir('/local/conda/bin/'):
+        conda_smithy_path = '/local/conda/bin/'
     run_commands([conda_smithy_path+'conda-smithy', 'rerender'],
                  ['git', '--no-pager', 'diff'],
                  ['git', 'add', '-A'])