It seems to me now that there are two steps when config is loaded:
- on dispatch
- repository object creation
Recent patches added functionality that there can be shares in share-safe mode
where config of the source repository is shared with the the shares. However we
missed adding logic to read the source config on dispatch. This leads to
extensions not being loaded on dispatch and hence extensions command not being
This patch fixes it by reading the shared source config on dispatch.