fix to allow local bare repo