Fixed minor bug when creating a new path input for source dataset.