Fix detection of topmost scope
Fix detection of topmost scope

Don't return the file scope, which comes before the package scope. We
want a function scope.

dominikh/go-tools,dominikh/go-tools,dominikh/go-tools,dominikh/go-tools