Fix enterprise repo when no cert/key is passed