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