Minor fix when handling multiple source directories.