fix for frozen builds: navigate back the stack to locate the module instead of relying on inspect to locate the module based on the file name