JENKINS-16573 Getting testing result from non default junit mojo failed build.
Merge pull request #686 from vkravets/JENKINS-16573

JENKINS-16573 Getting testing result from non default test mojo failed build.
Regression test and changelog for [JENKINS-16573]
Guard against possible NPEs when getting mojo configuration values