Fix checkout GitSCM syntax to properly check out a specific commit

Change-Id: I9aa3aecd63b41997d5c65b46b85488f4463b1e28
diff --git a/jjb/pipeline/synopsys-check.groovy b/jjb/pipeline/synopsys-check.groovy
index 18139dd..e413117 100644
--- a/jjb/pipeline/synopsys-check.groovy
+++ b/jjb/pipeline/synopsys-check.groovy
@@ -92,10 +92,8 @@
             sh "echo Checking out: ${gitRepo}"
             checkout(changelog: false, scm: [
                 $class: 'GitSCM',
-                userRemoteConfigs: [[
-                  url: "${params.git_server_url}/${gitRepo}/",
-                  name: "${branch}",
-                ]],
+                userRemoteConfigs: [[ url: "${params.git_server_url}/${gitRepo}/", ]],
+                branches: [[ name: "${branch}", ]],
                 extensions: [
                   [$class: 'RelativeTargetDirectory', relativeTargetDir: "${gitRepo}"],
                   [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false],