I would too, but in this particular case, ``launch_directory`` is near 100% guaranteed not to be null (``getcwd()`` would have to fail), so we might as well do the other test first.