Clean up all directories after reset
Not all directories were always cleaned up after resetting the pipeline. This has now been fixed, by rigorously removing any sub-directories in any of the output directories that are not present in the pipelines
directory.
Fixes RAP-327