fix check_master for the recent pcap rework