Cleaning up ConfigTask.
Trailing slash fix for neptune directories.