Checking existence of source directory first.