[Commons]Fix trello warns

We can use resourceBundle.containsKey method, available since jdk 1.6