metamodel: FreeModule #226: fixed obtaining the list of packages

we don't want the imported packages