pub fn load_local(path: &Path) -> Result<Registry, String>
Load a registry from a local file (JSON). Returns an empty registry if the file does not exist.