Fix generator listing

Refactor the way package.json lookup (for update notification) is done
Merge pull request #119 from SBoudrias/fix-lookup

Fix generator listing