Closes #159: notify when a package repo is dirty (uncomitted changes)
diff --git a/cmd/get_imports.go b/cmd/get_imports.go
index 8831acc..a573aad 100644
--- a/cmd/get_imports.go
+++ b/cmd/get_imports.go
@@ -530,6 +530,11 @@
 			} else if err != nil {
 				return err
 			} else {
+
+				if repo.IsDirty() {
+					return fmt.Errorf("%s contains uncommited changes. Skipping update.", dep.Name)
+				}
+
 				// Check if the current version is a tag or commit id. If it is
 				// and that version is already checked out we can skip updating
 				// which is faster than going out to the Internet to perform