diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -91,8 +91,10 @@
 
 getConfDir :: Maybe FilePath -> IO FilePath
 getConfDir mfp = do
-  src <- case mfp of
-           Nothing -> readProcess "ghc-pkg" ["list", "--user"] ""
-           Just fp -> readProcess "cabal-dev" ["-s", fp, "ghc-pkg", "list", "--user"] ""
-  let ans = init $ head $ drop 1 $ filter ("/" `isPrefixOf`) $ lines src
-  return ans
+  case mfp of
+    Nothing -> do
+      src <- readProcess "ghc-pkg" ["list", "--user"] ""
+      return $ init $ head $ filter ("/" `isPrefixOf`) $ lines src
+    Just fp -> do
+      src <- readProcess "cabal-dev" ["-s", fp, "ghc-pkg", "list", "--user"] ""
+      return $ init $ head $ drop 1 $ filter ("/" `isPrefixOf`) $ lines src
diff --git a/ghc-pkg-autofix.cabal b/ghc-pkg-autofix.cabal
--- a/ghc-pkg-autofix.cabal
+++ b/ghc-pkg-autofix.cabal
@@ -7,7 +7,7 @@
 -- The package version. See the Haskell package versioning policy
 -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
 -- standards guiding when and how versions should be incremented.
-Version:             0.2.0
+Version:             0.2.0.1
 
 -- A short (one-line) description of the package.
 Synopsis:            Simple utility to fix BROKEN package dependencies for cabal-install.
