Fix logging call to find app frame and name on odd tracebacks.

Some frames don't have a '__name__' attribute in their f_globals, which breaks
structlog's utility for finding the first application frame when you specify
additional modules to ignore. Fix this.

(todo: submit a PR to structlog for this)