plugins/alias: strip empty strings from list before matching