Fix an issue reported by rubocop that wasn't ignored in the todo config

Issue text: Favor modifier if/unless usage when you have a single-line body.