When dynamic-by-default, we may only have .dyn_hi files, and ghc-pkg complains if there are no .hi files.