composer/composer — pull request #2187 by benjisg (2013-08-18 18:21:59+00:00)
Title: Fixes the autoload_namespaces generator 

This fixes issue #2186 by doing a check on the path after the substr and only exporting it's value if it is not false.