Remove trailing wildcards on directories

 This just ignores the files at the first level.  Instead, ignore the whole directory.