[Runtime] Fix browsertest issue on Linux.

Browsertest 'OnLaunchAndSuspendEventTest' failed on Linux due to
'onLaunched' event is not fired by local path launch.

The PR will fix above issue.