diff --git a/templates/gitlab-ci-node.yml b/templates/gitlab-ci-node.yml
index 1a55d5686e9ac940870435f58a662170f288ec0e..37e93609984c8b014eb478553b9bf82d49352049 100644
--- a/templates/gitlab-ci-node.yml
+++ b/templates/gitlab-ci-node.yml
@@ -591,7 +591,7 @@ stages:
           SEMGREP_RULES="${SEMGREP_RULES} $rule"
         else
           rule_url="${NODE_SEMGREP_REGISTRY_BASE_URL}/$rule"
-          log_info "... rule file $rule not found: downloading from $DOWNLOAD_URL"
+          log_info "... rule file $rule not found: downloading from $rule_url"
           dest_file="semgrep-${rule/p\//}.yml"
           wget "$rule_url" -O "$dest_file"
           SEMGREP_RULES="${SEMGREP_RULES} $dest_file"