Both c_move and c_trace are returning erroneous values for hit.texname

When my player lands on a floor, it is supposed to retrieve the texture name of the floor. Instead when my player is standing on a level block hit.texname is NULL and when my player is standing on the skybox hit.texname is set to *skydome+2 which is also incorrect because the texture name for the sky is simply "sky1"

Is this some bug that cropped up recently or is there something I might be doing wrong to cause this?