However, this code can be triggered on standalones, hitting the invariant that the oplog collection exists.
As for the suggested fix, I've talked with Kyle Suarez and we believe the guard from
SERVER-34211 is no longer necessary and can be removed. Specifically,
SERVER-35671 moved the uassert such that if its triggered, the catalog is left in a consistent state.