Test to see if local dir is not empty before rsync'ing