Fix a bug in getCometdUtil