Fix OpsManager registry instantiation