scripts/shell: adjust subsession name generation.