This is about the
Java 11 CSP book, not the 829 book. (The 829 book doesn't have a chapter 17 and the Java 11 CSP does have modules as ch 17. The page number doesn't line up exactly either. There's no diagram on 822.
So I'm not 100% sure which diagram this is about. I know we fixed some diagram stuff for Java 17 though so I'm guessing it is that.
While I agree it is confusing to have package/module names be similar, that is how it works in the real world (as you noted). And more importantly, it is reasonable for the real exam to do that.