[WIP] Avoid the need to use a git remote when checking if DB migrations should be run

Fixes GH-38