Parse gsm provider name

This is what I meant by minimizing the differences with upstream.