[JENKINS-24380] Stop relying on the format of Run.id

To be merged if and when https://github.com/jenkinsci/jenkins/pull/1379 is.