Prevent crash if ::effectiveCommandLine is empty

Authored by apol.