[Git][ghc/ghc][wip/jeltsch/more-efficient-home-unit-imports-finding] Replace a boolean `case` by an `if`