contrib/pacsearch: skip non-matching lines