I'd disagree. If McCain's and Obama's party affiliations had been reversed, Obama would have won 10% of the black vote. Party trumps everything, especially when the party concerned is an advocate of freebies and racial preferences for blacks.
I think you’re right. It is party in terms of elections. A Herman Cain on the GOP ticket versus a white Democrat would lose with black voters.