Bash Shell If Variable Is Not In Scope