Only send getLegendGraphics request if layer has Style tag in getCapabilities - so request for Legend graphics will not be sent if layer is a Layer Group.