Raise an error if there is no branch configured