An interactive fiction by Juhana Leinonen (2008) - the Inform 7 source text
The ceiling is scenery in the cell. It is unspecified, self-lit and distant. The description is "The ceiling is far above the ground. [description of the ceiling-trapdoor]"
Understand "roof" as the ceiling.
Instead of examining up:
try examining the ceiling.