Add support for exclude argument in list to filter out specific paths