Check lockfile for inferred packages on snapshotting (#121)