Fixed Homunculus crash potential when checking the skill (bugreport:9162)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>