composer/composer — pull request #2223 by mgenereu (2013-08-31 17:02:17+00:00)
Title: Support namespace roots mapped to subdirectories.

Seems like the Target Directory fix for locating a long namespace without nested folders only worked for root. This extends that feature to any subdirectory.