Miscellaneous warning fixes

we should change the cli to not use getDeployedHosts instead