Check YAML syntax in salt-ci-wrapper only for reclass-system

Change-Id: I878d0e71a1d68dd58d86a00fad7b0a53dc35cca6
diff --git a/test-salt-model-wrapper.groovy b/test-salt-model-wrapper.groovy
index 339a30f..e882b39 100644
--- a/test-salt-model-wrapper.groovy
+++ b/test-salt-model-wrapper.groovy
@@ -143,10 +143,6 @@
             ])
         }
 
-        stage('Syntax YAML checks') {
-            sh("git diff-tree --no-commit-id --diff-filter=d --name-only -r HEAD  | grep .yml | xargs -I {}  python -c \"import yaml; yaml.load(open('{}', 'r'))\" \\;")
-        }
-
         stage("Run tests") {
             def documentationOnly = sh(script: "git diff-tree --no-commit-id --name-only -r HEAD | grep -v .releasenotes", returnStatus: true) == 1
             if (documentationOnly) {
@@ -159,6 +155,7 @@
             String branchJobName = ''
 
             if (gerritProject == reclassSystemRepo && gerritBranch == 'master') {
+                sh("git diff-tree --no-commit-id --diff-filter=d --name-only -r HEAD  | grep .yml | xargs -I {}  python -c \"import yaml; yaml.load(open('{}', 'r'))\" \\;")
                 for (int i = 0; i < testModels.size(); i++) {
                     def cluster = testModels[i]
                     def clusterGitUrl = projectsMap[reclassSystemRepo]['url'].substring(0, projectsMap[reclassSystemRepo]['url'].lastIndexOf("/") + 1) + cluster