Fix bug if statement(always true)

The if statement in platform/ubuntu/password.rb is always true.
Code review changes

Better checking for nil. 
Check for value at each level in the settings hash.
Merge pull request #41 from ankurcha/patch-1

Fix bug if statement in password.rb