FIX: properly read catalog schema revision