Adds support for updating cached git repo url.
Fixes #10408