bonding: fix error unwind in bonding_store_bonds