registry: change init_registry() to return WERROR instead of bool.