Setup the registry only if empty