Fixed updater bug (closes claroline/Claroline#606)