repo::init tests: refactor global config path override Provide a function that allows tests to set up a bespoke global configuration path.