Fixes bug where package.json file is not loaded correctly