Fix get url bug without @oss_connection initialized.