Fix invalid artifact Id's