Trim trailing / from target