WFLY-4075 If the copy artifact target location ends in a slash then preserve the file name
fixes/enhancements needed by the forge addon