Make our temporary repo unique id generator a little more robust in the face of broken setups.