Refactor: CTS: Simplify a block in fence_dummy.
Instead of splitting this into two nested conditionals, we can use get() to do both at the same time.