diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml
index 18f72ddaf8194068c77d8e0778357816daee4a90..80d83f9d68951954f6caf4d5c11280cf1c1fffd7 100644
--- a/templates/gitlab-ci-maven.yml
+++ b/templates/gitlab-ci-maven.yml
@@ -337,7 +337,7 @@ stages:
       host=$(echo "$host_port" | cut -d':' -f1)
       port=$(echo "$host_port" | cut -s -d':' -f2)
       proto_proxy_args="-D$proto.proxyHost=$host -D$proto.proxyPort=${port:-80}"
-      if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=\"$non_proxy_hosts\""; fi
+      if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=$non_proxy_hosts"; fi
       echo "$proto_proxy_args"
     fi
   }