trmap has been devided into little files, so change the configuration of it, bacaoce variable "trmap-remote-process-environment" is not in the tramp.el but in tramp-sh.el, so add (require 'tramp-sh).