Merge pull request #383 from Masterminds/fix/379

Fixes #379: Failed get was writing glide.yaml and glide.lock files
diff --git a/action/get.go b/action/get.go
index e5135e8..5665ef6 100644
--- a/action/get.go
+++ b/action/get.go
@@ -37,7 +37,10 @@
 	// Fetch the new packages. Can't resolve versions via installer.Update if
 	// get is called while the vendor/ directory is empty so we checkout
 	// everything.
-	installer.Checkout(conf, false)
+	err = installer.Checkout(conf, false)
+	if err != nil {
+		msg.Die("Failed to checkout packages: %s", err)
+	}
 
 	// Prior to resolving dependencies we need to start working with a clone
 	// of the conf because we'll be making real changes to it.