well, even `fqhostname = "" if fqhostname.nil?` is better then current state, when default is there three time.
And `||=` is known idiom in ruby for setting default values.