Some fixes required for pantasks operation: needed '-limit' for the list mode, need to check if a fileset exists before inserting it.