diff --git a/compiler/main/HscMain.hs b/compiler/main/HscMain.hs
index 9474ca2..639fc60 100644
--- a/compiler/main/HscMain.hs
+++ b/compiler/main/HscMain.hs
@@ -383,6 +383,7 @@ hscParse' mod_summary = do
                             $ filter (not . (== n_hspp))
                             $ map FilePath.normalise
                             $ filter (not . (== '<') . head)
+                            $ filter (not . null)
                             $ map unpackFS
                             $ srcfiles pst
                 srcs1 = case ml_hs_file (ms_location mod_summary) of
