New: add isPathIgnored method to CLIEngine (fixes #1392)