Tweak the ghc-pkg finding code