Hello Community, I enabled Multitenancy in a Totara 18 site but the Tenant Domain Manager role is missing.

I also found a bug fixed in T19 (TL-30989), but how do I fix it in Totara 18?
TL-30989 Ensured that Tenant User Manager and Tenant Domain Manager roles exist when a site is installed with multitenancy enabled in config.php
Thanks!