Issue 49349 - global name 'imap' is not defined
Bug Description:
When stacktrace is generated, gdb helper script throws exception and
doesn't produce any output for threads.
Fix Description:
Use the correct namespace for imap function.
https://pagure.io/389-ds-base/issue/49349
Reviewed by: mreynolds (Thanks!)