[Fix JENKINS-25313]  avoid null pointer if repository not defined