Remove empty lines from global choice parameters

If one or many empty lines are in the global choice parameter textarea,
then in the job configuration the last one is automatically selected
even if you previously specified the default value.