Hello,
We just upgraded from version 8.3.5 to version 8.5.4 and have several jobs failing now. From investigation, they seem to be failing because the source directory is set through a loop variable. The task that is failing is a Copy files task and the Folder under location is {LOOP(CurrentValueXArray,4)}. After removing the trailing slash from the loop array the error stopped.