tests: test setting up app git repo like `fdroid build` does

I wrote this to try to find #379 but this test didn't trigger that bug.
2 jobs for grabbag-of-little-fixes
Status Job ID Name Coverage
  Test
passed #33910326
metadata_v0

00:03:11

passed #33910325
test

00:37:11