TMDM-7854: check the staging db existence before add staging to cluster type.