Fix a recently introduced crash when using hif_source_set_keyfile_data()