Make TypeError message from Command.__init__ more useful
diff --git a/Lib/packaging/command/cmd.py b/Lib/packaging/command/cmd.py
index fa56aa6..1053ac3 100644
--- a/Lib/packaging/command/cmd.py
+++ b/Lib/packaging/command/cmd.py
@@ -57,7 +57,8 @@
         from packaging.dist import Distribution
 
         if not isinstance(dist, Distribution):
-            raise TypeError("dist must be a Distribution instance")
+            raise TypeError("dist must be an instance of Distribution, not %r"
+                            % type(dist))
         if self.__class__ is Command:
             raise RuntimeError("Command is an abstract class")