Add a conditional dependency that glance::registry should be configured only after its database is created. This code only needs to be created on active nodes.