Codestyle fix for if()'s in object_get()