Concisely handle TypeError in Hashie::Dash