Restore the error checking in acquire_ghc