Fixed infinite build loop with creating package.json