mk: filter duplicate configuration entries