Check that repository was successfully cloned

Addess #25.

@gvwilson I'm assigning it to you for review.