maint.mk: handle missing git with more grace