source-tarball.nix: try src.revCount when src.rev is not available.