Fix okconfig listhosts returning empty output