I agree with @steveklabnik 
Although this removes the duplication but  makes it harder to read

And also when there are more things to add on a specific condition
The form before this refactor is easier to change