handling multiple package names from ghc-pkg find-module.