Why checking if the parameter is `RtRepo`? No need to do this.