[lnst] Utils: process only Name nodes in get_module_tools