refactor(getRegistry): Remove unused parameter in `getRegistry`.

It looks like `cli.Context` is not used at all inside the `getRegistry` function.
This PR removes that coupling.