Fix to avoid failing if dependencies are not set

Currently tool gives error if package.json that is being tested
doesn't have dependencies field set. Error is caused by giving
undefined list to Object.keys.
Merge pull request #5 from eemapel/master

Fix to avoid failing if dependencies are not set