mono/mono — pull request #1333 by joero74 (2014-10-10 13:05:22+00:00)
Title: Prevent NullReferenceException in case of missing Host

Do not throw a NullReferenceException when Host variable is not set.
Ignore the calls to RegisterObject and UnregisterObject instead.