checking hostname of paths returned