exit if checkout fails