Looks like you are calling `line.clean_for_authors` twice. You can probably just leave it as:

```ruby
branches << line unless line == '(no branch)'
```