scripts/get_maintainer.pl: warn on missing git or git repository