Make sure the artifact directory exists.