Added conditional in case ignoredFiles is not defined
Added conditional in case ignoredFiles is not defined

Squishymedia/bids-validator,Squishymedia/BIDS-Validator,nellh/bids-validator,nellh/bids-validator,suyashdb/bids-validator,nellh/bids-validator