I second the fact that disabling the append_branch() execution is not clear. More details about what use cases is fixing might sort out the right solution.
Few other remarks:
apparently the indentation was changed (whitespaces instead of tabs?)
if there is a fix + new feature, split the commit in two, because the fix might need to be backported