Fix output of non-reader sources for Catalyst Python scripts
When outputting Catalyst Python scripts for the new export mechanism non-reader sources were incorrectly being output as Catalyst inputs/channels. Fixed to properly recognize that they are other available sources.
Fixes: #18558 (closed)