[sr-dev] git:pd/outbound: modules/domain: updated use of get_branch() and next_branch() to cope with additional argument