Yeah... pretty sure all DO schools will soon stop accepting CC credits and will be posting MCAT averages near 36
In all seriousness, don't sweat this stuff. I found myself in a similar position and got all worked up about how schools would see my CC pre-reqs (and non pre-req science classes like A&P, Microbiology, etc. that most consider to be "upper level" but I took at the 100-200 level at my community college). I actually discussed CC coursework at two of my interviews this cycle at different schools, and both interviewers shared my views about CC courses being very legitimate and sufficiently preparatory. Taking courses at CC allowed me to get to know my professors and learn the material well, perhaps better than I had in science classes at my four year school. I do NOT believe that my CC pre-reqs were perceived as easier, even though people on this forum will tell you otherwise. My 6 acceptances would be otherwise inexplicable. I realize that MD schools may have very different views on this; however, many MD schools will also accept these credits and will understand - if you're interested in MD, definitely call around/do some research before taking the CC classes.
My advice: retake the classes wherever it is most convenient and cheapest. Do as well as you can wherever you are. Prosper.