Remove tilde from the apiVersion string