[FIXED JENKINS-18024] Avoind NPE when checking if reason why in the queu...

...e has beed changed