cherry: remove redundant check for merge commit