Fixes #5030 deprecates determining plugin from debug backtrace