Fixed a few issues with previous changes

A few dangling issues from the last commit's large changes.
Added hostname lookup to cacti's Get.