Small fix for folders with existing package.json