BS-11483
Prevent to connect to an offline repository
* At startup
* In Switch repository

Still not supported:
If connection is lost during developement