Fix stubbing on the `cli` module's tests

My system had a `~/.ditconfig` file which was tampering with the test
results. Thankfully we have a CI system for that.