Prevent NPE when pedantic encounters dupe top-level deps to fix #1498
Merge pull request #1504 from jcrossley3/1498

Prevent NPE when pedantic encounters dupe top-level deps to fix #1498
Merge remote-tracking branch 'upstream/master'