fix emperor destroy on mount/umount hook errors