It is not part of a quest. I left it till late in the game not wanting to kill the ghost before finding out what was going on, but there doesn't appear to be any purpose to it. Maybe it is an easter egg, or maybe it was planned to be part of something taken out of the game.