Fix Shellcheck warnings