Updated ripple to fix a bug in the branch detection