Fix debug assertion when CvPcb footprint list is empty.