Checking whether the source directory is given on the command line