fix handling of Archiva distribution URLs