Add support for leading slash in PATH filter