handle ember init inside directory without package.json

I found this bug after trying to run `ember init` inside an empty directory.