s3:registry: use transaction wrapper in init_registry_data()