Fixed version-check logic for already-installed npm packages

If the package name is in the form ``name@1.2.3`` and ``1.2.3`` is not installed we should still call npm instead of saying the install is satisfied.