Fix remote path map when 'runonstart' option is set.
Add local to variable 'activated' in function mapRemotePath
Merge branch 'map-remote-runonstart'
Fixed localization based on static analysis.
Refactored file name generation for compilation and static analysis.