It should be some kind of bug if the creep reports the wrong roomName while visually being in the other one. But more likely something is wrong in your code, so go for more debugging and post here a history link + debugging that you have done.
You may test your code by manually specifying the position you want, like creep.moveTo(new RoomPosition(7,22,"E7N24"));
or use creep.moveTo(new RoomPosition(25,25,"E7N24"),{range:24}) to just enter the room you want