registry: separate initialization of registry data from regdb_init().