Add a package to missing list if npm list reported it as invalid

When bumping a dependency's version in packge.json npm list will list it as "invalid" and not "missing", causing the npm module to not mark it for installation.