[bash] "unary operator expected" error in Bash if condition