Check for resource['format'] is None rather than is not None
Merge branch 'resource_format_detection_fix' into noaa_dev_ignorecerts