Luke probably figured that Anakin's ghost was just some drinking buddy of Obi-Wan's who he sliced up in a drunken rage one night.