NEXUS-6731: GA level metadata is not created on upload

if generated POM used and there is no main artifact, only
classified artifact.

Issue
https://issues.sonatype.org/browse/NEXUS-6731

CI
http://bamboo.s/browse/NX-OSSF189