Fix Rep.getTitle  (issue 6213)