simplify install_from_lock modules.

Because tree->children->spec is parent's dependency version.
It's not installed version.