[SPARK-3967] don’t redundantly overwrite executor JAR deps

Yes. The idea was to abstract out this duplicated code from ~4 other places in this file, all of which has a log message that includes the url, without changing any functionality.