Improved the Godep import for subpackages
diff --git a/cmd/godeps.go b/cmd/godeps.go
index 5c75aa5..ac4b4ed 100644
--- a/cmd/godeps.go
+++ b/cmd/godeps.go
@@ -4,6 +4,7 @@
 	"encoding/json"
 	"os"
 	"path/filepath"
+	"strings"
 
 	"github.com/Masterminds/cookoo"
 )
@@ -78,7 +79,8 @@
 
 	for _, d := range godeps.Deps {
 		// Info("Adding package %s\n", d.ImportPath)
-		pkg, sub := NormalizeName(d.ImportPath)
+		pkg := getRepoRootFromPackage(d.ImportPath)
+		sub := strings.TrimPrefix(d.ImportPath, pkg)
 		if _, ok := seen[pkg]; ok {
 			if len(sub) == 0 {
 				continue