Support bare/mirror in git.managed state