Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
It already existed in EE in the Geo namespace. This change brings it to CE.