RequirePathScanner optimizations