JBIDE-16176 : use proper stacks archetype id during lookup

Signed-off-by: Fred Bricon <fbricon@gmail.com>