Use `is_published` named arg with `Branch`

This is more explicit when reading the code.