Fix bug if statement in password.rb

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