func readRegistryConf(sys *types.SystemContext) ([]byte, error) {
	return ioutil.ReadFile(RegistriesConfPath(sys))
}
func readRegistryConf(sys *types.SystemContext) ([]byte, error) {
	return ioutil.ReadFile(RegistriesConfPath(sys))
}
// Reads the global registry file from the filesystem. Returns
// a byte array