Issue #235: Fixed issue where lock has same subpackage with and without leading /
diff --git a/cfg/config.go b/cfg/config.go
index de189eb..88bdc71 100644
--- a/cfg/config.go
+++ b/cfg/config.go
@@ -372,6 +372,12 @@
 		d.Subpackages = append(d.Subpackages, subpkg)
 	}
 
+	// Older versions of Glide had a / prefix on subpackages in some cases.
+	// Here that's cleaned up. Someday we should be able to remove this.
+	for k, v := range d.Subpackages {
+		d.Subpackages[k] = strings.TrimPrefix(v, "/")
+	}
+
 	return nil
 }