The problem seems to be that DirectBranchCommit produces a bzr user id from format_address_for_person(branch.owner), but format_address_for_person won't work if the person in question has no preferred email.
In the case of Datum, and probably a lot of the other failing branches, the owner is a team and has no contact address. We'll have to search much harder for a valid email address.
The problem seems to be that DirectBranchCommit produces a bzr user id from format_ address_ for_person( branch. owner), but format_ address_ for_person won't work if the person in question has no preferred email.
In the case of Datum, and probably a lot of the other failing branches, the owner is a team and has no contact address. We'll have to search much harder for a valid email address.