CSPACE-6273: Refine the text munging performed on the output from 'update-alternatives'.