Fail early on the wrong sudo password

This branch will fail early if the sudo password is incorrect. If you prefer that its refactored more, I wil be happy to do that :)

Thanks!
 Michael