Same comment about guard clauses here. Secondly, if onRealmInfo just calls `callback` when there is error, can we just call `callback` directly from here?