The more I think about this the more it bothers me that relpath behaves this way.

I will submit is as an issue to the python devs