Bug 830240 - Fix launchWithName, a=test-only

This fixes launchWithName after the changes in 5d583cf.