JENKINS-24133: Fixed notifyCommit's result branch set in build data