I would normally be worried about depending on a deep hash structure like this without checking for nil - it's where many NilClass[] no such method errors arise from.

However, in this case I've looked at the Fog code, and it seems unlikely that this would fail.