this tests for the presence of the public dir and creates it if needed. This situation can arise in a new install.