[sr-dev] git:master:176c98b0: modules/ims_dialog: check branch is set before dereferencing