Since update-alternatives(1) is localized, screen scraping its output breaks if the locale is set to non-English.