fix for frozen builds

When freezing ryu-based applications handler registration fails because inspect.modulesbyfilename returns a different path (the frozen path) so the proper module is not located hence handler.register_service fails. This fix navigates the stack back to locate the module instead of relying on path matching.