Fix turning on slave with no master should enable internal master