Convert path to $PATH in message and descriptor