One would assume it wasn't his. He stole that Tardis, why on earth would his own cot be in it.
As that's what was implied, maybe he brought it with him. Even if its not his, why would it have river songs name on it. I doubt it'll be as answered just a plot hole.