- fix empty repository check; bash lazily evaluates wildcards, can't use