Minor pcap logging fixes

Fixes:
- Minor Coverity warning
- yaml comment