findTarball: Fix the case where src is a directory