[library: .cfg] fix register_dir.cfg