Home dir lookup fix

Before, u.has_key?("home").nil? absolutely always returns false, since a boolean is never nil.