GetFeatureInfo does not work on layers added through CS-W

Related to: https://opengeo.zendesk.com/agent/tickets/2985