Not exception for GetLegend from a WMS cascade

The code resulted in an exception when calling GetLegend. Changed it to
return nothing, but it should perhaps return the original legend.