Stops the ant-contrib library being downloaded to invalid locations

* On occasion the ant-contrib library can get downloaded to
  ${ant.library.dir} when this property has no value. Avoid this by
  just checking on the value of this property prior to downloading