Fix auto-whitelist path and remove potentially obsolete directives