Add support for init_at with backend and fix a crash in repo.path
Refdb backend support