Ensure "done" callback is invoked if zero-length paths array is provided