Add now-passing test for repo shorthands

Closes #4635, by proving that the update to
normalize-package-data in read-package-json fixed
the problem.