It's not strictly necessary, but it would probably make sense in the long run to process `foo/bar` into `refs/namespaces/foo/refs/namespaces/bar` here, as git does (I am not passing any judgement over whether that expansion is or is not a wise thing, but maintaining git compatibility makes sense).