resolve lockfile/library state more conservatively when errors occur