check if the host building is gone

fixes #5670
bring it in line with Rearm
Merge pull request #5892 from Mailaender/destroyed-repair-building-nre

Added a check if the rearm host building is gone