Fix problem that it doesn't work when package.json didn't find