correct. However this line refers to having to have a folder specified.
The condition says, if either the url is empty or the local path is empty, then error.