Add check to cope with unknown categories

Hide any categories/repositories that aren't known.