JBIDE-15645 : proper fallback on legacy stacks

Archetype was not loaded if the new stackType was set but the old stacks.yaml is used

Signed-off-by: Fred Bricon <fbricon@gmail.com>