samba_version: Cope with building snapshots in directories without git checkout.