Added a defined failure mode to find_root_ca_cert()
Added more checks to the repository provider to help in handling broken repository JSON files