git cherry pick giving bad object