remove trailing / from artifacts path