correct the issue: considering that hostname might be different.
was failing for upgrade scenarios.
Merge branch 'master' of github.com:gkhachik/katello-api