Correctly handle nulls for JDBC Connector dependencies.