Get correct host info

This should be fixing #80.