How to avoid Fillet/Chamfer failing when applying any (null) GTransform

I'm having issues when applying fillets/chamfers after using BRepBuilderAPI_GTransform (to apply for example non-uniform scaling). Even using a null/zero transform causes std fail error while using no transform or usual transform works fine, for example:

TopoDS_Shape shape = BRepPrimAPI_MakeCylinder(0.2,1).Shape();

gp_GTrsf trsf;
shape = BRepBuilderAPI_GTransform(shape, trsf); // Uncommenting this works.

BRepFilletAPI_MakeFillet fillet(shape);
TopExp_Explorer edge_explorer(shape, TopAbs_EDGE);
while ( edge_explorer.More() ) {
TopoDS_Edge edge = TopoDS::Edge(edge_explorer.Current());
fillet.Add(0.2, edge);
edge_explorer.Next();
}
shape = fillet.Shape();

Any ideas how to circumvent/fix this issue (or why a any/null Gtransform causes it).