[sr-dev] git:4.1:75e862db: core: safety check for append_branch() when called with no uri and no msg