There might be several apps in the system that might have very similar name, e.g. articles, articles-custom, articlesOld and so on. Currently when module descriptor contains a component mapping section with i.d. equal to e.g. <id>app-articlesOld-mysubapp, the IoC mechanism may screw things up because it might think that the components from this section are bound to the app articles because of the too permissive pattern matching.
Solution would be to choose the app whose name is longest among the matching ones (instead of picking the first one matching).