Fixes reletivePath settings on the archetype pom files.
Bugfix - not having a selectedType shouldn't force startsWith instead of contains.
Merge branch 'release/2.4' into feature/galleryEdit