WFLY-4075 If the copy artifact target location ends in a slash then preserve the file name