fixes #6253 Host can not be removed
Merge pull request #6281 from dotCMS/issue-6253-Host-can-not-be-removed

fixes #6253 Host can not be removed