NEXUS-6242: Backport to Nexus 2.7.x

How parser is looked up, one change from this commit
https://github.com/sonatype/nexus-oss/commit/7cab8b575936a521889ddf194ac34187a78a6031#diff-0

Issue
https://issues.sonatype.org/browse/NEXUS-6242

CI
TBD