You KNOW you're return a path with invalid stuff here, and it's almost certain that someone will go and use this function somewhere else, assuming that it does the right thing.