The overall white vote in Allegheny County would have to be quite a bit above 50/50 for the districts with no African Americans to show 50/50 for Obama. Also, I would expect that those who live in districts with no African Americans are self-selected to be more strongly Republican than your average Allegheny County white guy.