I remember the game being quite fussy when it came to adding logs to building blueprints (ghosts). You had to look at a certain place on the building for the log to be added to it. Maybe the same has to be done for this cheat, looking at a specific part of the Ghost.
Been a while since I played the game so I’m not 100% certain where you need to be looking. Try the point where you paced the building first or last.
If you can’t find it, take a look at the console command cheat list posted just slightly above, there may be something there to help you.