Fix fatal error

Fix "Fatal error:  Call to a member function get_contents() on a non-object (...)" error. As seen in https://github.com/ReduxFramework/redux-converter/issues/4