Grab the destinationDir value for these tasks before nulling out the copy action.