nexus.py creates actual URLs for getting artifacts now.
clean up tmp dir and make sure it exists before downloading artifacts