workaround for OpenCms 9.5 of CmsShell

https://github.com/alkacon/opencms-core/issues/288