Tweak upload artifact script for plugin artifacts.