SLING-8262 -  Add SonarQube analysis to Jenkins jobs

Remove leading slash from repository name.
diff --git a/src/org/apache/sling/jenkins/SlingJenkinsHelper.groovy b/src/org/apache/sling/jenkins/SlingJenkinsHelper.groovy
index 570eda7..19d1547 100644
--- a/src/org/apache/sling/jenkins/SlingJenkinsHelper.groovy
+++ b/src/org/apache/sling/jenkins/SlingJenkinsHelper.groovy
@@ -62,7 +62,7 @@
             stage('Init') {
                 checkout scm
                 def url = sh(returnStdout: true, script: 'git config remote.origin.url').trim()
-                jobConfig.repoName = url.substring(url.lastIndexOf('/')).replace('.git', '');
+                jobConfig.repoName = url.substring(url.lastIndexOf('/') + 1).replace('.git', '');
                 if ( fileExists('.sling-module.json') ) {
                     overrides = readJSON file: '.sling-module.json'
                     echo "Jenkins overrides: ${overrides.jenkins}"