I just realised that this global is doubly risky since SUSEConnect is used as a gem by YaST.  Could you rename it to something less likely to cause interference, such as $suse_connect_filesystem_root? Artem has a better solution (singletons) but we can change that later.