Added app:config:status : https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.4CE.html. Apply this change and avoid workaround as we were doing so far