Fix remote path map when 'runonstart' option is set.