git cherry pick command giving bad object