Small change to allow the default option to be false.

I had an issue setting false as the default value. The expression default.present? will return false if the value of default is false, causing the method to continue to the else clause, and returning nil. Since default will always be set to nil if it is not present, there is no need to check for the presence of a default value.