magit-section-{case,match}: don't attempt to access missing struct