Small get_metainfo improvement