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