Fix error message in keycache lookup