throw an exception when trying to build a project without a name in composer.json