Detect only returns success if cabal file exists

I'm experimenting with the dokku project and since detect always returns success it's always selected buildpack for deploying no matter if it's a Haskell project or not. This patch addresses the issue.