Upgrade 4.29.2 Fails for HANA

This is my code which works with liquibase-core 4.20.0 but not with 4.29.2. I’ve upgraded liquibase-core and liquibase-hanadb to 4.29.2. I have also upgraded the ngdbc to 2.21.11.
pom.xml:

<dependency>
  <groupId>com.sap.cloud.db.jdbc</groupId>
  <artifactId>ngdbc</artifactId>
  <version>2.21.11</version>
</dependency>
<dependency>
  <groupId>org.liquibase</groupId>
  <artifactId>liquibase-core</artifactId>
  <version>4.29.2</version>
</dependency>
<dependency>
  <groupId>org.liquibase.ext</groupId>
  <artifactId>liquibase-hanadb</artifactId>
  <version>4.29.2</version>
</dependency>

Relevant Code:

System.out.println("INFO: Performing HANA Schema Updates.");
HanaDatabase hdb = new HanaDatabase();
hdb.setConnection(new JdbcConnection(connection));
hdb.setDefaultSchemaName(db.getName());
Liquibase liquibase = new liquibase.Liquibase(path, new ClassLoaderResourceAccessor(), hdb);
liquibase.update(new Contexts(), new LabelExpression());
liquibase.close();

It now fails on the liquibase.update line with the error message:
hana is not a supported DB