#5174 allow old_name to be abscent
Merge pull request #5176 from dotCMS/issue-5174-broken-sitesearchapitest

#5174 allow old_name to be abscent