NXCM-5346: Simple fix applied

Not expanding events, those starting with `!`, `!#` etc.

Issue:
https://issues.sonatype.org/browse/NXCM-5346

CI:
https://bamboo.zion.sonatype.com/browse/NX-MVNF5-1