Check that repository was successfully cloned

Addess #25.

@gvwilson I'm assigning it to you for review.
Should exit at this point if creation failed?