reg: Add support for the default registry value in ask_confirm().