Change return type for a zebra_add_record + zebra_repository functions to