Prevent crash if ::effectiveCommandLine is empty
(cherry picked from commit aee806fdf0ffb5a2d3409c8177a3251c8292428e)