I think the cwd might be a sub-directory in certain cases. We might have to walk up looking for the `.cabal` file.