Fixed issue with source as a directory link.