Tramp hook for ETERM remote directory tracking