If a #include finds a file relative to the current file, don't forget to check
whether it's part of a module.