Bug fix causing autohost to fail if no resources were found.