Fix/suppress shellcheck errors in teardown.sh

Rationale: It's good to have all of our scripts pass shellcheck.
6 jobs for shellcheck_teardown in 17 minutes and 53 seconds (queued for 1 second)