Cannot determine port due to unknown HANA version

Hello,
here it goes:
HANA DB is on Red Hat enterprise Linux 8.1 (ver. 4.18.0-147.el8.x86_64) and there is a syntax error in querries in the mk_sap_hana plugin, that causes plugin to fail querying the database version.
I have tried stripping quotes but with no positive effect.