Fix some ShellCheck warnings