Redirect stderr when testing cherry-pick