Fix closure in gating jobs.

Change-Id: I6dbef3d4a1794006c59759a4a9feb1cab75c074d
diff --git a/gating-pipeline.groovy b/gating-pipeline.groovy
index 871a355..dad56ee 100644
--- a/gating-pipeline.groovy
+++ b/gating-pipeline.groovy
@@ -45,5 +45,5 @@
 
 @NonCPS
 def _jobExists(jobName){
-  return Jenkins.instance.items.find{it.name.equals(jobName)}
-}
\ No newline at end of file
+  return Jenkins.instance.items.find{it -> it.name.equals(jobName)}
+}