Ensure cabal-install repl has been started properly

cabal-install repl is able to fail for a wide variety of reasons
which we are trying to catch by a little regexp here. Also we display
a nice wall of red text to the user in the case of failure