Fix bug in r8579: TrackHostExits .foo.bar implies TrackHostExits foo.bar; also fix logic error. svn:r8592