fix no such property error

To reproduce: Publish a package with one version, unpublish it, `npm show` et voila, `data["dist-tags"]` isn't there.