Resume hook missing even if installing selecting hibernate to swap

How did you rebuild dracut? You need to use sudo dracut-rebuild.