Fix ctags exclusion code