Fix undefining merge method for nil:class issue

I'm having troubles when the options variable is not declared.