Decide how to address ShellCheck violation SC2129 in Workspaces scripts
MR: Pending
## Description
The following discussion from !193265 should be addressed:
- [ ] @cwoolley-gitlab started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/193265#note_2542835118): (+3 comments)
> **suggestion (non-blocking):** These lines are getting shellcheck violations for https://github.com/koalaman/shellcheck/wiki/SC2129.
>
> Lets make a follow-up issue to fix this in all the scripts.
Further discussion from thread:

## Acceptance criteria
TODO: Fill out (required)
- [ ] [Describe what must be achieved to complete this issue.]
- [ ] [If applicable, please provide design specifications for this feature/enhancement.]
- [ ] [If applicable, please list any technical requirements (performance, security, database, etc.)]
## Implementation plan
TODO: Fill out or delete (optional)
[Provide a high-level plan for implementation of this issue, including relevant technical and/or design details.]
<!-- NOTE: Feel free to expand with more sections and headers as needed -->
<!-- DO NOT TOUCH BELOW -->
issue