Added `|| exit 1` to `git clone` and `cp`, I'd think that should be enough?