OpenMQTTGateway not publishing SYS data to SYStoMQTT topic

I updated an ESP8266 I was running version 1.0.0 on to version 1.8.0. Used a basic env.ini file with the same environment setup as was previously running, except changed ADC to mq2 (now that the sensor is directly supported). Just uploaded the new code using serial using PlatformIO, and the gateway starting working (all the sensor data was appearing in HA as normal) as it used the existing flash stored WiFi and MQTT settings. I have MQTT autodiscovery turned off in HA, so just had to update my sensor in yaml to the mq2 topic instead of ADC.

But one sensor stopped working in HA - a sensor that displays the rssi for the gateway (uses the JSON data from the SYStoMQTT topic). On my broker, the SYStoMQTT topic was not appearing. So I connected the gateway to my PC by USB and used the Serial Monitor to see what was happening.

I can see that the system data is not being published to the normal topic? It just posts N SYS followed by the Json data, then states at the end ‘No topic or origin in JSON, not published’.

What has gone wrong?