fix return values in registry mock service