Add idempotency to artifactory_archive library.