Fix project baking

Resolves https://github.com/cakephp/cakephp/issues/4077