Ensure opts.includePaths exists before calling a method on it.