Avoid using db:test:prepare to generate the dummy app.

Fixes #2629