Added missing assertion in GtSetSourceVisitor constructor