Fixed bug in check for graphite host