Fixed issue where update-alternatives always fails