This commit: https://git.yoctoproject.org/poky/commit/?id=2bd54942917d8ed51d85cc291162002eac7bd133 is a work-around in that we don't understand why, in rare cases, BUILDNAME can seemingly be None outside of heartbeat events. This type of error also came up when I was working with Sakib on https://git.openembedded.org/openembedded-core/commit/?id=26d82f92e5ed2ebdde158d66b86eaf248f56892a This could be hard to reproduce but it would be good to get to the root cause of the problem.
Not worth tracking. If this you see this error, please explain what you were doing and re-open this defect.