Null pointer protection against artifact with groupId, artifactId, and version but no license