npm install of git dependency always update

This addresses issue #1727. The change ensures that
git dependencies will always update by checking for
_resolved.