now module searches for update-alternatives vs hardcoding it

should solve #7465, tested against ubuntu 12.04 and 14.04