try pick the best meta file not just the first

this should make it possible to install packages such
as mocha a longside real components