Fetch only non-dev packages from lock if doing a dev update fails due to a previously incomplete lock file, fixes #1650