[FIXED JENKINS-17021] Fixed NPE during guessing of result file path.