the block, craft ID of (blank), does not return player's craft. Instead, it returns the craft running the code. The tooltip claims it returns the player's craft.
Suggested tip by Pedro:
Fix the tool tip to "craft running the code" and add a new boolean under craft (id) called "is player controlled".
This is two months ago but I think I am having the same problem myself actually