Letting "ghc-mod dumpsym" work on non-cabal directories.
fix a test case.