Fix bug introduced in 1.4.18 version of custom_pom addon where poms are created for artifacts that have a classifier.