Influence of finite spatial coherence on ptychographic reconstruction