It appears that this is a bug in the
liquibase.database.core.PostgresDatabase class. Most of the other
implementations of getConnectionSchemaName() in the Database classes
start with a check for an offline connection and return null.
I have submitted a pull request to fix this - https://github.com/liquibase/liquibase/pull/533