Fix crash when deploying host from rab base images