Support pushing to bare repositories (switch_release may not be used then)