Ignore directories when wildcards are used.