Don't try to unref an object if atk returned NULL