Bash If Variable In Array Literal Error