added detection of empty glb_master_exists