Bug 830240 - Fix launchWithName, a=test-only

This fixes launchWithName after the changes in 5d583cf.
Merge pull request #7599 from willkg/fix-launch-830240

Bug 830240 - Fix launchWithName, a=test-only