[FaceRest] Fix a crash bug of addHostgroupsMap()

As Yamato-san mentioned at hatohol-commit@lists.sourceforge.net, it will cause crash when find() returns end().