It turned out that only graphs created with the GraphBuilder are affected. It specifies the referenceBand parameter in the described use case, which leads to the error. If you save the graph to XML and use it with gpt the processing works if you remove the tag referenceBand.