Fix error reporting in pkt-line