We should do the check for being in shared folder first, and only then, do this substr:
```
if (propFile.path.contains(OS.Path.join(gaiadir, 'shared'))) {
  return propFile.path.substr(gaiadir.length);
}
return propFile.path.substr(webapp.buildDirectoryFile.path.length + 1);
```