Fix issue where wildcard matches didn't work with create_new_files enabled.