Remove unnecessary strip in `migrate_shell_config`