Refactor: python: Remove the path manipulation from remote.py.
I don't think this is necessary anymore.