xbps_transaction_commit: initialize bool var to avoid unexpected branch.