NEXUS-6230: Nullcheck was missing for listedGav

As the folder might contain maven metadata and other stuff
that M2GavCalculator cannot interpret, and will return
null.

Issue
https://issues.sonatype.org/browse/NEXUS-6230

CI