Fix test -e with wildcard arguments.
#1503
+46
−25
Merged