Item11267: Fix failing push

Some tasks don't have branch defined.