If an imported Motion project is included in a Shake script, and you choose Render Disk FlipBook, the Motion project contents will not be included in the resulting Disk FlipBook. Other nodes will be rendered appropriately, but the Motion node will not be rendered.
As a workaround, choose Render FlipBook instead, or output the node tree using a FileOut node.