Fix Shell Check warnings.
Fix Shell Check warnings.

Fixed warnings:
1. https://github.com/koalaman/shellcheck/wiki/SC2155
2. https://github.com/koalaman/shellcheck/wiki/SC2230

	Change on 2019/06/04 by idv <idv@google.com>

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=251521975

GoogleCloudDataproc/hadoop-connectors,GoogleCloudDataproc/hadoop-connectors