In general, this is not true. Dogs tend to react with hostility towards anything new. The "racist" dog is usually one who hadn't seen many black people while a puppy. They then seem strange to it as an adult, and many dogs react to strangeness by growling, snarling, and biting.
Now, different breeds can be more or less prone to this behavior, and individual dogs within a breed also vary greatly. Early training can make a big difference as well - if you introduce your dog to new neighborhoods and people regularly while it's a puppy, it'll tend to do better with new experiences as an adult.
But the bit about the dog's reflecting an owner's prejudice is not true.
Drew Garrett
Not in every case, but I will assure you it does happen. Sorry to say.