Use module directory as working directory for ghc-mod to allow automatic cabal file detection.