Workaround for unmaintained Globalize bug

Globalize has a bug where it tries to access a property on a NULL
object. This patch wraps the call in a try / catch and falls back
to the key.
Merge pull request #423 from dantleech/bugfix/globalize-workaround

Workaround for unmaintained Globalize bug