Fix error message when no sudo password is set and it is needed