CONTRIB-4909  More robust certificate_scan_image_dir function
Merge pull request #31 from jmvedrine/CONTRIB-4909

CONTRIB-4909  More robust certificate_scan_image_dir function