The Sages forbade only bread of the five grains baked by a non-Jew, not bread of rice or kitniyot. As the Shulchan Aruch wrote, some take pat palter when there is no Jewish baker, but not pat baal habayit. As the Rema wrote, bread made to sell is called pat palter.