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