In case a style directory has been deleted without prior uninstallation and the error « Unable to retrieve configuration file data for style: XYZ » is displayed, simply create a directory with the same name as the one indicated by the error message and add a simple style.cfg file (even empty, in which case there will be a warning because it does not contain the expected information but you can ignore it).
From then on it becomes possible to uninstall the style.