correct the issue: considering that hostname might be different.
was failing for upgrade scenarios.