tomd: assume origin, as getting master.remote fails for detached checkouts