Beat me to it. Or should we use the `Config` API for this, e.g. `SetLocalUser(repo)`? I don't think we necessarily need to test that the user comes from **global** config.