fix issue with files_to_include and files_to_ignore check