Workflow OOTB email showing localhost link for content
I am using OOTB email for workflow (checked email option in dynamic participant step). The email contains link to localhost:4502/bin/... and I want that link to point towards dev/ qa etc environments. I assume that the link is coming from 'Day CQ Link Externalizer' local property.

After updating local value to author URL, it works fine but after each maven build the value in local gets overwritten. I have two issues here.
1. What's the actual meaning of having local here? Will it impact anything if I update it to author URL?
2. After each build, the local value gets overwritten to http://localhost:4502. I have file named 'com.day.cq.commons.impl.ExternalizerImpl.xml' under /apps/<my site>/config.dev/ and same under config.qa etc. Even if I update the file, the changes in local field are not getting reflected in /system/console/configMgr and they are overwritten with localhost link.
The file content in 'com.day.cq.commons.impl.ExternalizerImpl.xml' is:

