For `url()` imports, you need to use `i.UrlItem`, since `FileName` will be `null`.
See `Microsoft.CSS.Editor.GlobalDocumentCache.GetSourceUriFromImport()` in your favorite decompiler.