now checking for repository info in package.json. This fixes issue #4