JENKINS-22654 Fix since matrix project has been broken out of Jenkins

Fix since matrix project has been broken out of Jenkins of core and is now an optional plugin.