s3:registry: tighten the subkey loop in reg_deletekey_recursive()