The check for the existence of get_custodia_instance in custodiainstance is not sufficient for the use od create_replica in CustodiaInstance. A new check for create_replica in CustodiaInstance has been added.