sets build id and uid at start of every build, fixes times where revision and buildid is none