Fix how duplicate configurations are detected in remote dev module

What this MR does

This MR fixes a minor bug where duplicate configurations are not detected. This is due to a shadowed assignment of latestConfig which has been fixed.

Merge request reports

Loading