If covid-19 were containable, then average people don't need masks. This isn't new territory: we've contained infectious diseases before, like SARS and ebola, and average Joe didn't need a mask then, either.
The CDC (and frankly every major government in the world) believed that covid-19 could be contained, and that no major outbreak would happen inside their country. This was incorrect. But if you hold this assumption, the CDC made the correct recommendation: N95 masks, properly worn, are the masks that protect against covid-19, and average people don't need them.