This avoids having unitialized repository metadata around (in SystemSettings) like in configprotect and configprotectmask