Pulling changes for environment removes all local variables

Problem: When pulling changes from the source environment, the merging mechanism works weirdly by removing all local variables even if they are different names.

Example:

SourceEnvironment:
Global_1 = 1
Global_2 = 2

Fork it into another workspace (say EnvDemo)
Switch to EnvDemo and add 2 local variables:
Global_1 = 1 (already there from Global)
Global_2 = 2 (already there from Global)
Local1_1=10
Local2_2=20

Go back to the SourceEnv and make a change
Global_1 = 100

Pull changes from the EnvDemo.

What’s expected in formed Env:
Global_1 = 100
Global_2 = 2
Local1_1=10
Local2_2=20

What happens
Global_1 = 100
Global_2 = 2

Local variables are lost

While pulling changes, it should ignore all local variables which are different from the source