Fix #386, `ghc-mod version` should not check `cabal configure`
Fix #387, Pattern match failure in GhcPkg