Fix wrong source type output generated by previous patch on unsupported type.