The custom recipes that are handled in the UI reside the project data structures. Upon building, the information needs freezing, and this is done by deep-copying the relevant information from the orm/ tables to the bldcontrol/ tables - e.g. for layers, targets, etc. When handling custom recipes, the same principle applies - the recipes instructions must be deep-copied as to freeze the data at the moment the user clicks the "Build" button. This bug tracks the creation of the needed table in the bldcontrol/ models. A separate bug will track the copying the information in Project.schedule_build().
Closing as wontfix as I don't see any reasons to make things more complex than they should be. Please have a look at bug 8077 for more explanations.
As per last comment set this issue as verified won't fix.