ensures proper directory structure when creating project from existing directory