[JENKINS-22681] Additional logging useful for diagnosing certain lazy-loading bugs.
[FIXED JENKINS-22681] Fix of JENKINS-19418 should have used getById, not load, to avoid reloading the last build gratuitously.