dsl/changeset: adding default guards against nil

Saw this in Ruby 1.9.3. Not completely sure what's going on. I might just not know how to Ruby